// type-selector/index.js
Component({
  properties: {},
  data: {},
  methods: {
    chooseAllTypes: function() {
      console.log('选择所有类型');
      this.triggerEvent('selectAllTypes');
    }
  }
});